package com.blog;

import java.util.Arrays;
import java.util.List;

public class day03Generic {

	public static void main(String[] args) {
		// Java Arrays 转 List
		int[] data = {1,2,3,5};
		List list = Arrays.asList(data);
		
		int[] newDate = null;
		for(int i =0;i<list.size();i++) {
			newDate = (int[]) list.get(i);
		}
		
		for(int m=0;m<newDate.length;m++){
			System.out.println(newDate[m]);
		}
	}

}
